package com.google.jessewilson.codesearch.api.spi;

import com.google.jessewilson.codesearch.api.SearchProviderAware;
import com.google.jessewilson.codesearch.ui.EditorComponent;

import javax.swing.*;

/**
 * Editor for search provider configuration-specific query configuration.
 * For example, "whole words only" and "use regular expressions" would go
 * in a QueryExtraEditor, but "path to search provider executable" would go
 * in {@link com.google.jessewilson.codesearch.configuration.SearchProviderConfiguration}
 * instead.
 *
 * @author jessewilson
*/
public interface SearchProviderParametersEditor
    extends EditorComponent<SearchProviderParameters>, SearchProviderAware {

  void setAction(Action action);
}
